package aiku.numericalcontroloa.Model.Entity.DepartmentManagement;

import aiku.numericalcontroloa.Model.Entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author 黄广庭
 * @Date 2024/2/20 9:46
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "department")
public class Department extends BaseEntity {
    /**
     * 部门名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 上级部门id
     */
    @TableField(value = "parent_department_id")
    private String parentDepartmentId;

    /**
     * 部门主管id
     */
    @TableField(value = "manager_id")
    private String managerId;
}
